/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo909B;

/**
 *
 * @author Administrator
 */
public class RectangleTest {
  
    public static void main(String args[]){
        Rectangle rec=new Rectangle();
//        sa.no="123";//error
//        sa.name="li";//error
//        sa.score=-90;//error
       //System.out.println(sa.name);//error
        rec.setValue(5.6,5);
        System.out.println(rec.getZhouchang());
        System.out.println(rec.getArea());
    }
}
